package com.xherorlclass.transport.message;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author ：Xherorl
 * @date ：Created in 2023/8/26 10:21
 * @description：服务调用方发起的请求内容
 */
@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
public class XherorlRpcRequest {
    // 请求的id
    private long requestId;

    // 请求的类型，压缩的类型，序列化的方式
    private byte requestType;
    private byte compressType;
    private byte serializeType;

    private long timeStamp;

    // 具体的消息体
    private RequestPayload requestPayload;
}
